<!DOCTYPE html>
<style>
.a {
    border: 20px solid crimson;
    transform: translateY(0px);
}
.b {
    border: 20px solid crimson;
    transform: translateY(40px);
}
</style>
<div class="a"></div>
<div class="b"></div>
